<?php
class Sfs_View_Helper_YearSemesterOptions
{
    /**
     * 回傳學年學期陣列
     *
     *@param $selected 預設選取
     * @param 額外設定 $arr
     * $arr['date'] 基準日期
     * $arr['order'] 排序方式
     *
     * @return array
     */
    function YearSemesterOptions($selected='',$arr=array()){
        $semester = new Semester_Model_SemesterDuration();

        return $semester->getYearSemesterOptions($selected,$arr);
    }

}